package com.demo.service.impl;

import com.demo.entity.test1.Users;
import com.demo.mapper.test1.UserMapper;
import com.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class ImplUserService implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<Users> demo(){
        return userMapper.findAll();
    }
}
